package team.fivez.defaultmanage.dao;

import java.util.List;

public interface IndustryInfoDao {

    //插入到行业违约表
    void insertInfoToDefault(String industry,String year);

    //获取违约年份
    List<String> getYearListFromDefault();

    //获取违约行业
    List<String> getIndustryListFromDefault();

    //通过年份和行业违约统计次数
    Integer getCountByIndustryAndYearFromDefault(String industry,String year);

    //插入到行业重生表
    void insertInfoToRedo(String industry,String year);

    //获取重生年份
    List<String> getYearListFromRedo();

    //获取重生行业
    List<String> getIndustryListFromRedo();

    //通过年份和行业重生统计次数
    Integer getCountByIndustryAndYearFromRedo(String industry,String year);

    //清除违约表
    void deleteAllDefault();

    //清除重生表
    void deleteAllRedo();

}
